<%--
  Created by IntelliJ IDEA.
  User: yangbushudemao
  Date: 2021/5/13
  Time: 14:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath();%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!-- f标签 取得jsp一些函数工具 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="f"%>
<!-- 格式化标签 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form id="role_update_Form">
             <input type="hidden" value="${user.uid}" name="uid">
    角色名称：<input type="text" value="${user.uname}" name="uname"><br>
        权限：<br><c:forEach items="${list}" var="role">
                 <input type="checkbox" value="${role.rid}" name="rid" <c:if test="${ids.contains(role.rid)}">checked</c:if>>${role.rname}<br>
             </c:forEach>
</form>
</body>
</html>
